.settings-panel {
  width: 300px;
  border-left: 1px solid #d9d9d9;
  padding: 16px;
  background-color: #fafafa;
  flex-shrink: 0;
}

.settings-content {
  display: flex;
  flex-direction: column;
}

.settings-content label {
  font-weight: bold;
  margin-bottom: 8px;
  margin-top: 8px;
}

.settings-content input,
.settings-content textarea {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 8px;
  font-family: inherit;
}

.settings-content textarea {
  resize: vertical;
  min-height: 60px;
}

.settings-info {
  font-size: 0.8em;
  color: #666;
  word-wrap: break-word;
}

.settings-content hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 16px 0;
}

/* --- NEW --- Styles for the delete button */
.delete-node-button {
  margin-top: 16px;
  padding: 8px 16px;
  width: 100%;
  font-size: 1em;
  font-weight: bold;
  color: white;
  background-color: #ff4d4f; /* A standard danger/delete red */
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.delete-node-button:hover {
  background-color: #f5222d; /* A darker red on hover */
}